<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>今日已点菜单列表</title>
<@c.baseCss />
<@css.food />
<@c.baseJs />
<@js.food />
<script type="text/javascript">
</script>
</head>
<body>
	<div class="main">
		<@menu.menu />
		<div class="foodList">
			<form action="submitFoods.html" method="get" id="foodForms">
			<table class="mytb" width="100%" >
				<colgroup>
					<col width="10%">
					<col width="25%">
					<col width="15%">
					<col width="30%">
					<col width="20%">
				</colgroup>
				<thead>
					<tr>
						<th>序号</th>
						<th>菜名</th>
						<th>单价</th>
						<th>点餐时间</th>
						<th>操作</th>
					</tr>
				</thead>
				<tbody>
				<#if orderItems?has_content>
				<#list orderItems as oi>
				<tr class="trContent">
				<td class="tct">${oi_index+1}</td>
				<td><span class="sign_yelo">${oi.foodName}</span></td>
				<td class="tct"><span class="sign">￥<b>${oi.foodPrice}</b></span></td>
				<td>${oi.createDate?string('MM月dd日 HH:mm:ss')}</td>
				<td class="tct">
					<#--<a href="###" fid="${oi.foodId}" class="viewBtn">查看</a>-->
					<#if oi.status=0>
					<a href="###" fid="${oi.foodId}" oid="${oi.id}" class="cancelOrderBtn">取消</a>
					<#else>
					订单已经提交给老板啦
					</#if>
				</td>
				</tr>
				</#list>
				<#else>
					<tr>
						<td colspan="5" class="tct">无</td>
					</tr>
				</#if>
				</tbody>
			</table>
			</form>
		</div>
		<@c.foot />
	</div>
</body>
</html>